Api.GetIOByIndex method
Gets the information from a specified real or simulated I/O module.
Namespace: IntervalZero.KINGSTAR.OpcUa.Api
Assembly: IntervalZero.KINGSTAR.OpcUa.Api (in IntervalZero.KINGSTAR.OpcUa.Client.dll) Version: 4.4.0.0
Syntax
public KsReturn<SlaveStatus> GetIOByIndex(
int Index
)
Public Function GetIOByIndex(
Index As Integer
) As KsReturn(Of SlaveStatus)
Parameters
Index
Type: int
Index of the device in the I/O list. Indexes are zero based. Aliases affect this parameter.
Return value
Type: KsReturn<SlaveStatus>
Returns a KsError code and a SlaveStatus value.
Remarks
GetIObyIndex can only be called once a link is established and started.
Usable EtherCAT states
ecatOP
Examples
N/A
See also